// -------------------------------------------------------------------------------------------------

#if !defined(  __sm_test_notifier_h__ )
#define __sm_test_notifier_h__

#include "sea_platform.h"
#include "sea_trace.h"
#include "sea_memtracker.h"

using namespace sea;

class MyThread : public OsThread
{
public:
    MyThread( OsNotifier* it ) : m_it( it ) 
    {
        it->reserve( ); 
    }

    void exec( ) 
    {
        m_it->release( ); 
    }
private:
    OsNotifier* m_it;
};


void test_notifier( );

#endif

// -------------------------------------------------------------------------------------------------
